.class final Lcom/a0soft/gphone/app2sd/main/x;
.super Landroid/content/BroadcastReceiver;
.source "CoreApp.java"


# instance fields
.field final synthetic a:Lcom/a0soft/gphone/app2sd/main/CoreApp;


# direct methods
.method constructor <init>(Lcom/a0soft/gphone/app2sd/main/CoreApp;)V
    .locals 0
    .parameter

    .prologue
    .line 110
    iput-object p1, p0, Lcom/a0soft/gphone/app2sd/main/x;->a:Lcom/a0soft/gphone/app2sd/main/CoreApp;

    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method


# virtual methods
.method public final onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 5
    .parameter
    .parameter

    .prologue
    const/16 v4, 0xa

    const/4 v3, 0x1

    const/4 v2, 0x0

    .line 113
    invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object v0

    .line 114
    invoke-virtual {p2}, Landroid/content/Intent;->getData()Landroid/net/Uri;

    move-result-object v1

    .line 115
    invoke-virtual {v1}, Landroid/net/Uri;->getEncodedSchemeSpecificPart()Ljava/lang/String;

    move-result-object v1

    .line 117
    if-eqz v1, :cond_0

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-nez v1, :cond_1

    .line 136
    :cond_0
    :goto_0
    return-void

    .line 121
    :cond_1
    const-string v1, "android.intent.action.PACKAGE_ADDED"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_2

    move v0, v3

    .line 132
    :goto_1
    if-eqz v0, :cond_0

    .line 133
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/main/x;->a:Lcom/a0soft/gphone/app2sd/main/CoreApp;

    invoke-static {v0}, Lcom/a0soft/gphone/app2sd/main/CoreApp;->b(Lcom/a0soft/gphone/app2sd/main/CoreApp;)Landroid/os/Handler;

    move-result-object v0

    invoke-virtual {v0, v4}, Landroid/os/Handler;->removeMessages(I)V

    .line 134
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/main/x;->a:Lcom/a0soft/gphone/app2sd/main/CoreApp;

    invoke-static {v0}, Lcom/a0soft/gphone/app2sd/main/CoreApp;->b(Lcom/a0soft/gphone/app2sd/main/CoreApp;)Landroid/os/Handler;

    move-result-object v0

    const-wide/16 v1, 0x3e8

    invoke-virtual {v0, v4, v1, v2}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z

    goto :goto_0

    .line 123
    :cond_2
    const-string v1, "android.intent.action.PACKAGE_REMOVED"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 124
    const-string v0, "android.intent.extra.REPLACING"

    invoke-virtual {p2, v0, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    .line 125
    if-nez v0, :cond_3

    move v0, v3

    .line 126
    goto :goto_1

    :cond_3
    move v0, v2

    goto :goto_1
.end method
